package com.woniuxy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (AdminMessage)管理员信息表实体类
 *
 * @author zjx
 * @since 2021-05-14 19:34:51
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel("AdminMessage管理员实体类")
public class AdminMessage implements Serializable {
    private static final long serialVersionUID = 628496770992092216L;
    @ApiModelProperty("管理员id")
    private Integer id;
    @ApiModelProperty("管理员账号")
    private String account;
    @ApiModelProperty("管理员密码")
    private String password;
    @ApiModelProperty("管理员邮箱")
    private String email;
    @ApiModelProperty("上次登录时间")
    private Date currentLoginTime;
    @ApiModelProperty("角色id")
    private Integer roleId;
    @ApiModelProperty("创建人")
    private String creater;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新时间")
    private Date updateTime;


}
